#pragma once


#include "ScriptCompiler/AST/ExpressionNode.h"

class CParenthesesNode : public CExpressionNode
{

public:
    CParenthesesNode(std::weak_ptr<CScriptFileContext> InFile)
        : CExpressionNode(InFile, EASTNodeType::Parentheses)
    {
    }

    std::shared_ptr<CScriptToken> LeftParentheses;

    //expression
    std::shared_ptr<CExpressionNode> Expression;

    virtual void DebugPrint(int32_t InDepth) override;

    virtual std::shared_ptr<CScriptToken> GetFirstToken() override { return LeftParentheses; }

};